package lab02.test37;

/**
 *分别创建本科生和研究生这两个类的对象，并输出相关信息。
 */
public class StudentDemo {

    public static void main(String[] args) {
        Undergraduate stu1=new Undergraduate("张三",66,72,88);
        stu1.Display();
        Graduate stu2=new Graduate("李四",89,87,90);
        stu2.Display();
    }
}
